package com.sunda.spmswms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 工厂信息表
 * </p>
 *
 * @author Wayne
 * @since 2020-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WERKS")
@ApiModel(value="Werks对象", description="工厂信息表")
public class Werks implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工厂代码")
    @TableId("WERKS")
    private String werks;

    @ApiModelProperty(value = "工厂中文名称")
    @TableField("WERKS_NAME_ZH")
    private String werksNameZh;

    @ApiModelProperty(value = "工厂英文名称")
    @TableField("WERKS_NAME_EN")
    private String werksNameEn;

    @ApiModelProperty(value = "公司代码")
    @TableField("COMPANY_CODE")
    private String companyCode;

    @ApiModelProperty(value = "公司中文名称")
    @TableField("COMPANY_NAME_ZH")
    private String companyNameZh;

    @ApiModelProperty(value = "公司英文名称")
    @TableField("COMPANY_NAME_EN")
    private String companyNameEn;

    @ApiModelProperty(value = "工厂分类（地区结构分类）备注：10保税工厂，20贸易工厂，30生产工厂，40虚拟销售工厂")
    @TableField("REGIO_GROUP")
    private String regioGroup;

    @ApiModelProperty(value = "国家")
    @TableField("COUNTRY")
    private String country;

    @ApiModelProperty(value = "供应商编号")
    @TableField("SUPPLIER_NO")
    private String supplierNo;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getWerks() {
        return werks;
    }

    public void setWerks(String werks) {
        this.werks = werks;
    }

    public String getWerksNameZh() {
        return werksNameZh;
    }

    public void setWerksNameZh(String werksNameZh) {
        this.werksNameZh = werksNameZh;
    }

    public String getWerksNameEn() {
        return werksNameEn;
    }

    public void setWerksNameEn(String werksNameEn) {
        this.werksNameEn = werksNameEn;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getCompanyNameZh() {
        return companyNameZh;
    }

    public void setCompanyNameZh(String companyNameZh) {
        this.companyNameZh = companyNameZh;
    }

    public String getCompanyNameEn() {
        return companyNameEn;
    }

    public void setCompanyNameEn(String companyNameEn) {
        this.companyNameEn = companyNameEn;
    }

    public String getRegioGroup() {
        return regioGroup;
    }

    public void setRegioGroup(String regioGroup) {
        this.regioGroup = regioGroup;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getSupplierNo() {
        return supplierNo;
    }

    public void setSupplierNo(String supplierNo) {
        this.supplierNo = supplierNo;
    }

    @Override
    public String toString() {
        return "Werks{" +
                "werks='" + werks + '\'' +
                ", werksNameZh='" + werksNameZh + '\'' +
                ", werksNameEn='" + werksNameEn + '\'' +
                ", companyCode='" + companyCode + '\'' +
                ", companyNameZh='" + companyNameZh + '\'' +
                ", companyNameEn='" + companyNameEn + '\'' +
                ", regioGroup='" + regioGroup + '\'' +
                ", country='" + country + '\'' +
                '}';
    }
}
